package com.taritari.journal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taritari.journal.entity.po.BrowseLog;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author taritari
 * @date 2024-01-11 18:39
 * @description 浏览记录表
 */
@Mapper
public interface BrowseLogMapper extends BaseMapper<BrowseLog> {
    /**
     * 获取用户指定月份的阅读总数
     * */
    int getViewCountByMonth(int id,String month);
}
